//
//  FollowInviteViewController.m
//  CareWithFriends
//
//  Created by Versatile Systems, Inc on 11/19/13.
//  Copyright (c) 2013 Muludiang. All rights reserved.
//

#import "FollowInviteViewController.h"

@interface FollowInviteViewController ()

@end

@implementation FollowInviteViewController

@synthesize followBtn;
@synthesize inviteBtn;

-(IBAction)inviteUser:(id)sender{
    UIAlertView *inviteAlert = [[UIAlertView alloc] initWithTitle:nil message:[NSString stringWithFormat:@"Invite Sent To: " ]
                                                         delegate:self cancelButtonTitle:@"Home" otherButtonTitles:nil ];
    [inviteAlert show];
}

-(IBAction)followUser:(id)sender{
    UIAlertView *followAlert = [[UIAlertView alloc] initWithTitle:nil message:[NSString stringWithFormat:@"You Are Now Following: %d", [sender tag] ]delegate:self cancelButtonTitle:@"Home" otherButtonTitles:nil ];
    [followAlert show];
}

-(void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex{
   [self.navigationController popToRootViewControllerAnimated:YES];
}


- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
    self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
    if (self) {
        // Custom initialization
    }
    return self;
}

- (void)viewDidLoad
{
    [super viewDidLoad];
	// Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning
{
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

@end
